package pw.aorm;


import pw.aorm.annotation.Id;
import pw.aorm.annotation.Property;
import pw.aorm.annotation.Table;

/**
 * Created by chenw-i on 18-2-2.
 */

@Table(name = "user")
public class User {
    @Id
    private int id ;
    @Property
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
